﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gacn.ControleAlunos.Library.Entities
{
    public abstract class ATurmaEntity
    {
        #region Properties
        public long ID { get; set; }
        public string CodTurma { get; set; }
        #endregion

        #region Constructors
        public ATurmaEntity()
            : base()
        {
        }
        #endregion
    }

    public class TurmaEntity : ATurmaEntity
    {
        #region Constructors
        public TurmaEntity()
            : base()
        {
        }

        public TurmaEntity(long ID, string codTurma)
        {
            this.ID = ID;
            this.CodTurma = codTurma;
        }
        #endregion
    }

    public class TurmaDetalhadaEntity : ATurmaEntity
    {
        #region Properties
        public long CursoID { get; set; }
        public DateTime Insercao { get; set; }
        public Boolean Ativo { get; set; }
        public long EscolaID { get; set; }
        public int Sala { get; set; }
        public string Observacao { get; set; }
        public long InsertUserID { get; set; }
        #endregion

        #region Constructors
        public TurmaDetalhadaEntity() : base() { }

        public TurmaDetalhadaEntity(long ID, string CodTurma, long CursoID, DateTime Insercao, Boolean Ativo, long EscolaID, int Sala)
            : base()
        {
            this.ID = ID;
            this.CodTurma = CodTurma;
            this.CursoID = CursoID;
            this.Insercao = Insercao;
            this.Ativo = Ativo;
            this.EscolaID = EscolaID;
            this.Sala = Sala;
        }
        #endregion
    }

}
